package org.anyin.gitee.shiro.service;

import org.anyin.gitee.shiro.model.UserInfo;
import org.anyin.gitee.shiro.shiro.ShiroToken;

public interface ITokenService {

    boolean check(String token);

    ShiroToken createToken(String token, UserInfo userInfo);

    ShiroToken createToken(UserInfo userInfo);

    UserInfo getUserInfo(String token);
}
